package com.optimatch.model.db;

import javax.swing.DefaultListModel;

public class AutocompleteFieldListModel extends DefaultListModel {

	private static final long serialVersionUID = 1L;

	@Override
	public void addElement(Object o) {
		super.addElement((String) o);
	}

	public void set3First(String[] list) {
		this.removeAllElements();
		for (String s : list) {
			this.addElement(s);
		}
	}

}
